import request from '../utils/request';

// 获取群组的群控设置
export function getGroupControlSettings(groupId) {
    return request({
        url: `/api/group-control/${groupId}`,
        method: 'get'
    });
}

// 更新群组的群控设置
export function updateGroupControlSettings(groupId, settings) {
    return request({
        url: `/api/group-control/update/${groupId}`,
        method: 'post',
        data: settings
    });
} 